package com.own.business.log.operation.persistence.common.exception;

import com.own.business.log.operation.persistence.common.em.LogOperationPersistenceExceptionEnum;
import com.own.component.common.base.BaseResponseCode;
import com.own.component.common.exception.BusinessException;

/**
 * LogOperationPersistenceException
 *
 * @author chenxueli
 * @date 2023-08-03 09:34:39
 */
public class LogOperationPersistenceException extends BusinessException {

    public LogOperationPersistenceException() {
        super(LogOperationPersistenceExceptionEnum.DEFAULT);
    }

    public LogOperationPersistenceException(String message) {
        super(LogOperationPersistenceExceptionEnum.DEFAULT.code(), message);
    }

    public LogOperationPersistenceException(String code, String message) {
        super(code, message);
    }

    public LogOperationPersistenceException(BaseResponseCode responseCode) {
        super(responseCode);
    }

    public LogOperationPersistenceException(BaseResponseCode responseCode, Object... args) {
        super(responseCode, args);
    }

}
